package com.lanou.shunke.admin.mapper;

import com.lanou.shunke.admin.entity.TimeLine;
import com.lanou.shunke.admin.entity.TimelineClassification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TimelineMapper{

    List<TimeLine> showAllTL();

    List<TimeLine> showTypeTag(int tagId);

    List<TimelineClassification> showType();

    void updateTagType(String tag, int tagId);

    void updateTL(String tag, int tagId);

    List<TimeLine> showBanTL();

    void delBanTL(String timelineId);

}
